#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    as.preencherTokens("Resultado.cmp");
    as.iniciarAnalise();
    as.preencherTreeModel(tm);
    as.imprimirErros(ui->textBrowser_erros);
    as.imprimirArvore(ui->textBrowser_arvore);
}

MainWindow::~MainWindow()
{
    delete ui;
}
